package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkEngineerSign;
import com.zb.vo.OrderSlaSelectVo;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 工单工程师签到表，数据一对一 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-03-19
 */
public interface ZjWorkEngineerSignService extends IService<ZjWorkEngineerSign> {

    /**
     * 根据工单ID & 服务工程师ID获取工程师签到时间
     * @param workId 工单ID
     * @param networkEmpId 服务工程师ID
     * @return
     */
    Date getSignTimeByWorkIdAndNetworkEmpId(Long workId, Long networkEmpId);

    /**
     * 根据派单工程师ID查询工程师签到
     * @param workDispatchEngineerId 派单工程师ID
     * @return
     */
    ZjWorkEngineerSign getByWorkDispatchEngineerId(Long workDispatchEngineerId);

}
